/*
mutations  操作state
 */
import {ADD_TODO} from './mutations-type'

export default {
    // add
    ADD_TODO (state,{todo}){
        state.todos.unshift(todo);
    }
}